package com.spt.springbootzhsx.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserVipDao {

    @Select("select count(uid) from user")
    Integer getUserCount();

    @Select("select count(vid) from vip where vstate='未过期'")
    Integer getVipCount();
}
